package bean

/*
	数据库t_dash_board表
*/
type TDashBoard struct {
	FId              uint   `json:"f_id"`
	FName            string `json:"f_name"`
	FState           string `json:"f_state"`
	FDataType        string `json:"f_data_type"`
	FStartTime       int    `json:"f_start_time"`
	FIntervalTime    int    `json:"f_interval_time"`
	FContinuousTime  int    `json:"f_continuous_time"`
	FTotalDataNumber int    `json:"f_total_data_number"`
	FDataPoints      string `json:"f_data_points"`
}

/*
	RPC接口 Response
*/
type DashBoardResponse struct {
	NServer          string        `json:"n_server"`
	Data             []*TDashBoard `json:"data"`
	IsInEmergency    bool          `json:"is_in_emergency"`
	MessageEmergency string        `json:"message_emergency"`
}
